package com.android.baselibs.network;

/**
 * Created by zouqh on 2018/4/19.
 */

public class NethttpCode {

    public static String getErrorMsg(int code){
        String msg =null;
        if (code==500){
            msg="服务器内部错误";
        } else if (code==404){
            msg="没找到连接的服务器";
        }else if (code==400){
            msg="没找到连接的服务器";
        }else if (code==400){
            msg="没找到连接的服务器";
        }else {
            msg="连接失败";
        }
        return msg;
    }
}
